package com.fuluwa.domain.usercenter.model.competence;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.fuluwa.domain.shared.AbstractIdDomainObject;

/**
 * Define the enterprise's career level mapping to our career's level
 * @author yongxia
 * @Date Jul 16, 2013 3:37:02 PM
 */
@Entity
@Table(name = "t_ent_career_lvl_mapping")
public class EnterpriseCareerLevelMapping extends AbstractIdDomainObject {

	@ManyToOne
	private EnterpriseLevelDefine enterpriseLevelDefine;
	@ManyToOne
	private CareerLevelDefine careerLevelDefine;
	private String levelName;
//	@Column(name = "f_value", columnDefinition = "decimal(13,2)")
//	private float value;

	private EnterpriseCareerLevelMapping() {
	}

	public EnterpriseCareerLevelMapping(EnterpriseLevelDefine enterpriseLevelDefine, CareerLevelDefine careerLevelDefine,
		String levelName) {
	super();
	this.enterpriseLevelDefine = enterpriseLevelDefine;
	this.careerLevelDefine = careerLevelDefine;
	this.levelName = levelName;
}
	public EnterpriseLevelDefine getEnterpriseLevelDefine() {
		return enterpriseLevelDefine;
	}

	public CareerLevelDefine getCareerLevelDefine() {
		return careerLevelDefine;
	}

	public String getLevelName() {
		return levelName;
	}


}
